#include <stdio.h>
#include <conio.h>
struct node	{
	long dat;
	struct node *nodelink[5];
}*head;

static struct node *gnlist[100];

int add_link(struct node *to,struct node *from)
{
	int i=0;
	while((to->nodelink[i])!=0 && i<5)
		i++;
	if(i==5)
		return NULL;
	to->nodelink[i]=from;
}

int init_node(struct node *n)
{
	int i;
	n->dat=NULL;
	for(i=0;i<5;i++)	{
		n->nodelink[i]=NULL;
	}
}